﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExpertMIS.Brokers;

namespace ExpertMIS
{
    public partial class SearchMyTouble : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnQuery_Click(object sender, EventArgs e)
        {
            TroubleBroker broker = new TroubleBroker();

            dlOpnions.DataSource =  broker.GetTroublesByUserNameAndTel(txtName.Text, txtPhone.Text);
            dlOpnions.DataBind();
        }
    }
}
